package com.xuecheng.base.model;
/**
 * @author hjh
 * @data 2023/5/6 17:21
 * @version 1.0
 */

/**
 *@author hjh
 *@since 2023/5/6
 *@Description TODO
 */

public class Result<T> {
    // 状态码
    private int errCode;
    // 消息
    private String errMessage;
    // 数据
    private T data;

    public int getCode() {
        return errCode;
    }

    public void setCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return errMessage;
    }

    public void setMessage(String errMessage) {
        this.errMessage = errMessage;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}